package src.com.atguigu05.exer.exer3;

/**
 * ClassName: Test
 * Package: src.com.atguigu05.exer.exer3
 * Description:
 *
 * @Author BuTang
 * @Create 2023/5/4 15:29
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
//        Person a = new Person("张",-12);
        try {
            Person b = new Person();
            b.setLifeValue(12);
            b.setLifeValue(-11);
        }catch (NoLifeValueException e){
            e.printStackTrace();
        }
    }
}
